package com.ygqh.baby.mapper;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.AdminSupplierFrame;
import com.ygqh.baby.po.AdminSupplierFrameExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface AdminSupplierFrameMapper {
    int countByExample(AdminSupplierFrameExample example);

    int deleteByExample(AdminSupplierFrameExample example);

    int insert(AdminSupplierFrame record);

    int insertSelective(AdminSupplierFrame record);

    List<AdminSupplierFrame> selectByExample(AdminSupplierFrameExample example);

    int updateByExampleSelective(@Param("record") AdminSupplierFrame record, @Param("example") AdminSupplierFrameExample example);

    int updateByExample(@Param("record") AdminSupplierFrame record, @Param("example") AdminSupplierFrameExample example);

	AdminSupplierFrame selectByPrimaryKey(@Param("id")Long id);
	List<AdminSupplierFrame> selectSuper(@Param("queryInfo")QueryInfo queryInfo,@Param("q") String q);
	int countSuper(@Param("q") String q);
	AdminSupplierFrame findDetailById(@Param("id") Long id);

	int countFrame(@Param("id") Long id, @Param("frameCode") String frameCode);

	List<AdminSupplierFrame> selectFrameCode( @Param("supplierId") Long supplierId);
}